package com.kingtao.message;

import lombok.Data;

/**
 * @Author: kingtao
 * @Date: 2023-08-28-15:44
 * @Description:
 */
@Data
public class AppendNodeResponse extends Message {
    int num;
    boolean success;

    public AppendNodeResponse(int num, boolean success) {
        this.num = num;
        this.success = success;
    }

    @Override
    public int getMessageType() {
        return 17;
    }
}
